﻿using System;

namespace Gqq.Csharpindepth.Designpatter.Moduals
{
    internal class Dog : Animal
    {
        public Dog(string name)
            : this(name, 4, AnimalBody.Small)
        {

        }

        public Dog(string name, int limbs, AnimalBody body)
            : base(name, limbs, body)
        {
        }

        public override void Call()
        {
            Console.WriteLine("wang wang");
        }

    }
}
